#ifndef __ICMP_H__
#define __ICMP_H__

#define ICMP_ECHO         8
#define ICMP_ECHOREPLY    0

#define ICMP_MIN          8              // minimum 8 byte icmp packet (just header)

typedef struct _ICMP_HEADER
 {
   unsigned char  IcmpType;
   unsigned char  IcmpCode;              // Type sub code 
   unsigned short IcmpChecksum;
   unsigned short IcmpId;
   unsigned short IcmpSeq;
   unsigned long  IcmpTimestamp;         // Not standard field in header, but reserved nonetheless
 }ICMP_HEADER, *PICMP_HEADER;

#endif //__ICMP_H__